﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmallSoft.Language.Presenter.Interface;
using SmallSoft.Language.Model.Interface;
using SmallSoft.Language.View.Interface;

namespace SmallSoft.Language.Presenter
{
    public class WordNotifyPresenterBase:IWordNotifyPresenterBase
    {
        private IWordNotifyBase notifyView;
        private IWordModel model;
        public WordNotifyPresenterBase()
        {

        }
        #region IWordNotifyPresenterBase Members

        public void InitData()
        {
            
        }
        
        public virtual void ApplyData(IWordModel model)
        {
            notifyView.ApplyModelToView(model);
        }

        #endregion

        public IWordNotifyBase NotifyView
        {
            get
            {
                return notifyView;
            }
            set
            {
                notifyView = value;
            }
        }

        public IWordModel Model
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }
    }
}
